public class testsingleinstance {
    public static void main(String[] args) {
       singleinstance instance = singleinstance.getInstance();
       singleinstance instance2 = singleinstance.getInstance();
       singintance2 instance3 = singintance2.getInstance();
       singintance2 instance4 = singintance2.getInstance();
       System.out.println(instance == instance2);
       System.out.println(instance3 == instance4);

    }
}
